<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The SWFSprite class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfsoundinstance.nomultiple.html">SWFSoundInstance::noMultiple</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfsprite.add.html">SWFSprite::add</a></div>
 <div class="up"><a href="book.ming.html">Ming</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.swfsprite" class="reference">
 <h1 class="title">The SWFSprite class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5 &lt;= 5.3.0, PECL ming SVN)</p>
 

  <div class="section" id="swfsprite.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    An <strong class="classname">SWFSprite</strong> is also known as a &quot;movie clip&quot;, this
    allows one to create objects which are animated in their own timelines. 
    Hence, the sprite has most of the same methods as the movie. 
   </p>
  </div>

 
  <div class="section" id="swfsprite.synopsis">
   <h2 class="title">类摘要</h2>
 

   <div class="classsynopsis">
    <div class="ooclass"></div>
 

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">SWFSprite</strong>
     </span>
     {</div>

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="type">void</span><span class="methodname"><a href="swfsprite.add.html" class="methodname">add</a></span>
    ( <span class="methodparam"><span class="type">object</span> <code class="parameter">$object</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="methodname"><a href="swfsprite.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span><span class="methodname"><a href="swfsprite.labelframe.html" class="methodname">labelFrame</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$label</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span><span class="methodname"><a href="swfsprite.nextframe.html" class="methodname">nextFrame</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span><span class="methodname"><a href="swfsprite.remove.html" class="methodname">remove</a></span>
    ( <span class="methodparam"><span class="type">object</span> <code class="parameter">$object</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span><span class="methodname"><a href="swfsprite.setframes.html" class="methodname">setFrames</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$number</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">SWFSoundInstance</span><span class="methodname"><a href="swfsprite.startsound.html" class="methodname">startSound</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.swfsound.html" class="type SWFSound">SWFSound</a></span> <code class="parameter">$sount</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">void</span><span class="methodname"><a href="swfsprite.stopsound.html" class="methodname">stopSound</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.swfsound.html" class="type SWFSound">SWFSound</a></span> <code class="parameter">$sount</code></span>
   )</div>

 
   }</div>

 
  </div>
 </div>
 
 
















































 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="swfsprite.add.html">SWFSprite::add</a> — Adds an object to a sprite</li><li><a href="swfsprite.construct.html">SWFSprite::__construct</a> — Creates a movie clip (a sprite)</li><li><a href="swfsprite.labelframe.html">SWFSprite::labelFrame</a> — Labels frame</li><li><a href="swfsprite.nextframe.html">SWFSprite::nextFrame</a> — Moves to the next frame of the animation</li><li><a href="swfsprite.remove.html">SWFSprite::remove</a> — Removes an object to a sprite</li><li><a href="swfsprite.setframes.html">SWFSprite::setFrames</a> — Sets the total number of frames in the animation</li><li><a href="swfsprite.startsound.html">SWFSprite::startSound</a> — 说明</li><li><a href="swfsprite.stopsound.html">SWFSprite::stopSound</a> — 说明</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swfsoundinstance.nomultiple.html">SWFSoundInstance::noMultiple</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swfsprite.add.html">SWFSprite::add</a></div>
 <div class="up"><a href="book.ming.html">Ming</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
